negotiator
Class ActionEvent

java.lang.Object
  extended by negotiator.ActionEvent

public class ActionEvent
extends java.lang.Object

This class records details about an action of an agent. It is passed as event to interested parties (currently the logger&data display GUI). If there is a time-out or other protocol error, an additional EndNegotiation action will be created by the NegotiationManager and sent to listener.

Author:
wouter

Constructor Summary
ActionEvent(Agent actorP, Action actP, int roundP, long elapsed, double utilA, double utilB, java.lang.String remarks)
           
 
Method Summary
 java.lang.String getAgentAsString()
           
 int getRound()
           
 double getUtilA()
           
 double getUtilB()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionEvent

public ActionEvent(Agent actorP,
                   Action actP,
                   int roundP,
                   long elapsed,
                   double utilA,
                   double utilB,
                   java.lang.String remarks)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getUtilA

public double getUtilA()

getUtilB

public double getUtilB()

getAgentAsString

public java.lang.String getAgentAsString()

getRound

public int getRound()